package com.aynu.dao;

import com.aynu.entities.AnimationCharacter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper//标明这是一个dao层
public interface AnimationCharacterDao {
    //插入数据
    public int create(AnimationCharacter animationcharacter);

    //查询数据
    //加@Param
    public AnimationCharacter getAnimationCharacterById(@Param("id") Long id);
}
